home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- dmcheck w /q
- echo
- if not errorlevel 255 goto not255
- echo No DOOM version found!
- goto end
- :not255
- if not errorlevel 250 goto not250
- echo Version is sharewear
- goto end
- :not250
- if not errorlevel 20 goto not20
- echo DOOM II
- goto end
- :not20
- if not errorlevel 6 goto not6
- dmcheck /q v 1.666
- if not errorlevel 1 goto ok6
- echo You have version 1.666 all right, but it's the sharewear version!
- goto end
- :ok6
- echo Since you have DOOM 1.666, then the PWAD should be executed with
- echo DOOM -FILE FOREST.WAD DEMO12.WAD, otherwise DOOM would tell you
- echo that the demos were not for ver 1.666 and would exit.
- goto end
- :not6
- if not errorlevel 5 goto not5
- echo DOOM 1.5 beta, this is only a sharewear version.
- goto end
- :not5
- if not errorlevel 4 goto not4
- echo DOOM 1.4 beta, same here, sharewear.
- goto end
- :not4
- if not errorlevel 3 goto not3
- echo Since you have DOOM 1.2, then we could run a PWAD made for it.
- echo instead of displaying this.
- dmcheck /q v 1.2
- if not errorlevel 1 goto end
- echo but since you have the sharewear version, we still can't.
- goto end
- :not3
- if not errorlevel 2 goto not2
- echo Somebody that has DOOM 1.1 would get a message saying that the
- echo PWAD isn't usable with that version and he should upgrade to 1.2
- dmcheck /q v 1.1
- if not errorlevel 1 goto end
- echo Also, this is only the sharewear of 1.1, sorry can't do much!
- goto end
- :not2
- if not errorlevel 1 goto not1
- echo And for DOOM 0.9, you have to upgrade to 1.1, then 1.2 and today 1.666!
- dmcheck /q v 0.9
- if not errorlevel 1 goto end
- echo on top of that, this is the first sharewear release of DOOM!
- goto end
- :not1
- echo Oops got an errorlevel of 0 which shouldn't happen!
- echo Please send e-mail to me (Jean-Serge Gagnon) at az589@freenet.carleton.ca
- echo and tell me about it. Thanks.
- :end
-